package com.pet.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("comment")
public class Comment extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;//编号
    private String username;
    private Integer topicId;//话题编号
    private String content;//评论内容
}
